#ifndef _MAIN_H_
#define _MAIN_H_

#include "string.h"
#include "math.h"

#include "ch32f10x_conf.h"
#include "debug.h"
#include "setup.h"
#include "eedata.h"
#include "menu.h"
#include "control.h"

#include "tim4.h"
#include "key.h"
#include "led.h"
#include "rtc.h"
#include "i2c.h"
#include "aip650.h"
#include "lcd.h"
#include "moto.h"
#include "flash.h"


extern unsigned long time_1ms;
extern unsigned char time_500ms_flag;


void do_every_ms(void);
void bsp_init(void);

#endif
